package com.wyp.service;

import com.wyp.pojo.Examinees;

import java.util.List;
import java.util.Map;

public interface ExamineesService {
    //登录
    public Map<String,Object> findByStuaccount(String stuaccount);

    //返回所有考生信息给前端页面
    public List<Map<String,Object>> qureyAllExaminees();

    //查询考生信息
    public List<Map<String,Object>> qureyExamineesByStuname(String stuname);
    public List<Map<String,Object>> qureyExamineesByStuaccount(String stuaccount);

    //考生注册或管理员增加考生信息
    public boolean addExaminees(Examinees examinees);

    //更新考生信息
    public boolean updateExaminees(Examinees examinees);

    //删除考生信息
    public boolean deleteExaminees(Integer id);
}
